package tp.igl;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;
import tp.igl.View.*;

/**
 *<p>La classe a executée pour demarer le programme</p>
 * @author Redouane
 */
public class TPIGL extends Application {
    
    /**
     *
     */
    public static int width=300;
    /**
     *
     */
    public static int height=550;
    /**
     *
     * @param primaryStage
     */
    @Override
    public void start(Stage primaryStage) {
        Scene scene = new Scene(new Root(), 300, 500);
        primaryStage.setTitle("IPMAN");
        primaryStage.setScene(scene);
        primaryStage.setResizable(false);
        primaryStage.show();
    }

    /**
     * The main() method is ignored in correctly deployed JavaFX application.
     * main() serves only as fallback in case the application can not be
     * launched through deployment artifacts, e.g., in IDEs with limited FX
     * support. NetBeans ignores main().
     *
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        launch(args);
    }
}
